{%include file="header.html"%}
<script type="text/javascript" src="{%$URL%}resource/laydate/laydate.js"></script>
<style>
td {font-weight: bold;}
.firtd {	width: 100px;	padding-right: 10px;	text-align: right;}
input {	width: 350px;}
textarea {	width: 350px;	height: 100px;}
</style>
<body>
<div class="fixed-bar">
  <div class="item-title">
    <h3>编辑配送方式</h3>
  </div>
</div>
<div class="fixed_bottom">
  <form method="post" action="" id="aspnetForm" name="form1" enctype="multipart/form-data">
  <input type="hidden" name='shipping_id' value="{%$edit.shipping_id%}">
    <table style=" width:100%;" cellpadding="0" cellspacing="0" class="table tb-type2">
      <tbody>
        <tr>
          <td class="firtd">配送名称:</td>
          <td><input type="text" name="shipping_name" value="{%$edit.shipping_name%}"> *</td> 
        </tr>
        <tr>
          <td class="firtd">配送描述:</td>
          <td><textarea   rows="10" cols="30" name='shipping_desc'>
          	{%$edit.shipping_desc%}
          </textarea></td>
        </tr>
        <tr>
          <td class="firtd"> 货到付款:</td>
           <td><input style="width:15px" type="radio" name="support_cod" {%if $edit.support_cod eq 1%}checked{%/if%} value="1"> 是 &nbsp;&nbsp;&nbsp;&nbsp;<input style="width:15px" {%if $edit.support_cod eq 0%}checked{%/if%} type="radio" name="support_cod" value="0"> 否</td>
        </tr>
        <tr>
          <td class="firtd"> 排序:</td>
          <td><input type="text" name="shipping_order" value="{%$edit.shipping_order%}"></td>
        </tr>
        <tr>
          <td class="style1">&nbsp;</td>
          <td>
          	  <input type="hidden" name="act" value="insert" />
              <a href="JavaScript:void(0);" class="btn" onclick="reset()"><span>重置</span></a>
              <a href="JavaScript:void(0);" class="btn" onclick="$('#tj').click()"><span>确认提交</span></a>
          </td>
        </tr>
      </tbody>
    </table>
    <input type="reset" id="cz" style="display: none;">
    <input type="submit" id="tj" style="display:none;";>
  </form>
</div>
</body>

<script>
// 重置方法
function reset(){
	$('input').val('');
	$('textarea').text('');
	$('select').val('');
}
</script>
</html>